<link href="<?php echo $tempPath;?>/BJUI/css/main.css" rel="stylesheet">
<style>
	code{font-size: 14px;}
	.tongji_box{font-size:14px;padding-bottom: 25px;}
	.span{color:red;font-size:16px}
</style>
<div class="bjui-pageHeader" style="background:#FFF;z-index: 999;">
    <div style="padding: 0 15px;">
        <h4 style="margin-bottom:20px;">
            WMCMS(WeiMeng CMS) 内容管理系统　<small>轻松应用，专注您的梦想，从WMCMS开始！</small>
        </h4>

    </div>
</div>
<div class="bjui-pageContent">
    <!--<div style="position:absolute;top:15px;right:0;width:300px;">
        <iframe width="100%" height="550" class="share_self" frameborder="0" scrolling="no" src="http://show.v.t.qq.com/index.php?c=show&a=index&n=oulEshiRfnet&h=550&fl=1&l=4&o=29&co=0"></iframe>
    </div>-->
    <div style="margin-top:5px; margin-right:450px; overflow:hidden;">
	    <div style="top:15px;right:0;width:450px;margin-right:10px">
	        <div class="col-md-13">
                <div class="panel panel-default">
                    <div class="panel-heading"><h3 class="panel-title">每日数据</h3></div>
                    <div class="panel-body">
                    	<div class="tongji_box">今日新增留言 <span class="span"><?php echo $newMessage;?></span> 条， 共有  <span class="span"><?php echo $sumMessage;?></span> 条留言未读 </div>
                    	<div class="tongji_box">今日新增 <span class="span"><?php echo $newUser;?></span> 位用户， 共有 <span class="span"><?php echo $sumUser;?></span> 位用户</div>
                    	<div class="tongji_box">今日新增 <span class="span"><?php echo $newNovel;?></span> 本小说 , 共有 <span class="span"><?php echo $sumNovel;?></span> 本小说</div>
                    </div>
                </div>
            </div>
	    </div>
        <div class="row" style="padding: 0 8px;">

    </div>
</div>
<script>
$(document).ready(function(){
	var op = new Array();
	op['type'] = 'GET';
	op['reload'] = 'false';
	op['url'] = "index.php?a=yes&c=cloud.version&t=getnew";
	op['callback'] = "<?php echo $cFun;?>ajaxCallBack";
	$(this).bjuiajax("doAjax",op);// 显示处理结果
});
function <?php echo $cFun;?>ajaxCallBack(json){
	var data = json.data.data;
	if(data){
		$("#version_new").html('V'+data['version_number']);
		$("#version_time").html(data['version_addtime']);
		$("#version_remark").html(data['version_remark']);
	}
}
</script>